package com.shuai.enums;

/**
 * 系统枚举类
 *
 * @author shuai
 * @since 2022
 */
public enum SystemEnum {

    T200("200","请求成功"),
    F400("400","请求失败"),

    TOKEN_PAST("400","登录失效，请重新登录"),

    T0001("T0001","账号可用"),
    F0001("F0001","账号已存在，请更换账号"),



    as("sdf","dfg");

    private final String code;
    private final String msg;

    SystemEnum(String code, String msg) {
        this.code= code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
